package com.min.gps.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * Created by mincx
 */
@Api(value = "gpsData", description = "GPS通讯数据")
public class GPSInfo {
    @ApiModelProperty("车辆ID")
    private String cityID;
    @JsonFormat(timezone = "GMT+08:00", pattern = "yyyy-MM-dd HH:mm:ss")
    public Date sendTime;
    @ApiModelProperty("数据格式")
    private String DataFormat;//数据格式
    @ApiModelProperty("状态 A=数据有效；V=数据无效")
    private String Status;//GPS状态 A=数据有效；V=数据无效
    @ApiModelProperty("时间")
    private String GPSTime;//GPS时间
    @ApiModelProperty("纬度")
    private String Latitude; //纬度
    @ApiModelProperty("经度")
    private String Longitude;//经度
    @ApiModelProperty("地面速率")
    private String Speed;//速度
    @ApiModelProperty("地面航向")
    private String Heading;
    @ApiModelProperty("磁偏角")
    private String MagneticDeclination;
    @ApiModelProperty("磁偏角方向")
    private String MagneticDirection;

    public String getDataFormat() {
        return DataFormat;
    }

    public void setDataFormat(String dataFormat) {
        DataFormat = dataFormat;
    }

    public String getStatus() {
        return Status;
    }

    public void setStatus(String status) {
        Status = status;
    }

    public String getGPSTime() {
        return GPSTime;
    }

    public void setGPSTime(String GPSTime) {
        this.GPSTime = GPSTime;
    }

    public String getLongitude() {
        return Longitude;
    }

    public void setLongitude(String longitude) {
        Longitude = longitude;
    }

    public String getLatitude() {
        return Latitude;
    }

    public void setLatitude(String latitude) {
        Latitude = latitude;
    }

    public String getSpeed() {
        return Speed;
    }

    public void setSpeed(String speed) {
        Speed = speed;
    }

    public String getHeading() {
        return Heading;
    }

    public void setHeading(String heading) {
        Heading = heading;
    }

    public String getMagneticDeclination() {
        return MagneticDeclination;
    }

    public void setMagneticDeclination(String magneticDeclination) {
        MagneticDeclination = magneticDeclination;
    }

    public String getMagneticDirection() {
        return MagneticDirection;
    }

    public void setMagneticDirection(String magneticDirection) {
        MagneticDirection = magneticDirection;
    }

    public String getCityID() {
        return cityID;
    }

    public void setCityID(String cityID) {
        this.cityID = cityID;
    }

    public Date getSendTime() {
        return sendTime;
    }

    public void setSendTime(Date sendTime) {
        this.sendTime = sendTime;
    }
}
